/**
 * 
 */
package net.wisos.opn.cms.dao;

import net.wisos.opn.cms.entity.News;
import net.wisos.opn.cms.entity.Channel;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * @author Liuye
 * 
 */
public interface ArticleDao extends PagingAndSortingRepository<News, Long> {

	Page<News> findByChannel(Channel channel, Pageable pageable);
}
